package com.hoshiicloud.withdraw.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Builder
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "三要素验证", description = "三要素验证")
public class Bank3RealCheckParam implements Serializable {

	@ApiModelProperty(value = "姓名")
	@NotNull(message = "姓名不能为空")
	private String name;

	@ApiModelProperty(value = "身份证号码")
	@NotNull(message = "身份证号码不能为空")
	private String idCard;

	@ApiModelProperty(value = "银行卡号")
	@NotNull(message = "银行卡号不能为空")
	private String accountNo;

}